package com.firefightingiot.firefightingiot.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.firefightingiot.firefightingiot.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("business_hiddendanger")//单位隐患记录
public class BusinessHiddendanger extends BasisEntity {

    private String id;//主键id
    private String des;//隐患描述
    private Date findtime;//发现时间
    private String grade;//隐患等级：对应字典表
    private String state;//状态：对应字典表
    private String businessId;//单位id
    private String rfid;//RFID码

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getDes() {
        return this.getString("des");
    }

    public void setDes(String des) {
        this.put("des",des);
    }

    public Date getFindtime() {
        return this.getDate("findtime");
    }

    public void setFindtime(Date findtime) {
        this.put("findtime",findtime);
    }

    public String getGrade() {
        return this.getString("grade");
    }

    public void setGrade(String grade) {
        this.put("grade",grade);
    }

    public String getState() {
        return this.getString("state");
    }

    public void setState(String state) {
        this.put("state",state);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public String getRfid() {
        return this.getString("rfid");
    }

    public void setRfid(String rfid) {
        this.put("rfid",rfid);
    }
}
